package com.yuwenchao.superafflatus.pojo.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author chaooGG
 * @version 1.0
 * @date 2021/6/11 10:06
 */
@Data
public class TableDto {


    @ExcelProperty(value = "id")
    private Integer id;

    @ColumnWidth(value = 12)  //宽度，最大255
    @ExcelProperty(value = "员工姓名")
    private String superName;


    @ExcelProperty(value = "年龄")
    private Integer superAge;

    @ExcelProperty(value = "性别")
    private String superSex;

    @ColumnWidth(value = 25)
    @ExcelProperty("员工电话")
    private String superMobile;

    @ColumnWidth(value = 30)  //宽度，最大255
    @ExcelProperty("员工邮箱")
    private String superEmail;

    @ColumnWidth(value = 12)
    @ExcelProperty("员工薪资")
    private BigDecimal superSalary;

    @ColumnWidth(value = 30)
    @ExcelProperty("员工地址")
    private String superAddress;

    @ExcelProperty(value = "生肖")
    private String superZodiac;

    @ColumnWidth(value = 20)
    @ExcelProperty(value = "星座")
    private String constellation;

    @ColumnWidth(value = 30)
    @ExcelProperty(value = "员工身份证")
    private String superIdCard;
}
